package com.pearadmin.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pearadmin.system.domain.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    public SysUser selectUserByUsername(@Param("username") String username);

    public List<SysUser> selectList(SysUser sysUser);

    public SysUser selectById(String id);

    public int deleteById(String id);

    public int deleteByIds(String[] ids);
}
